var arr = '[1,2]';
if (!Array.isArray(arr)) {
  console.log('is not array')
}
const array = arr.concat([[1,2],[2,3],[4,5]]);
console.log(array);
